import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import websocket from 'vue-native-websocket';
import './plugins/element.js'
import './assets/css/global.css'
import './assets/css/normalize.css' // 引入normalize处理不同浏览器效果不一致问题
import './assets/fonts/iconfont.css'
// Vue.use(websocket, 'ws://1.14.14.93:3000', {// 需要连接的服务器地址，端打包后可以填地址（localhost:...）,调试阶段需填写对应开发本地地址(同个局域网，能ping通的地址)或部署的在线服务地址
//   reconnection: true, // (Boolean)是否自动重连，默认false
//   reconnectionAttempts: 5, // 重连次数
//   reconnectionDelay: 3000, // 再次重连等待时常(1000)
// });


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
